package generator.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName PM_BottleProductionDetail
 */
@Data
public class PmBottleproductiondetail implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private Integer mainid;

    /**
     * 
     */
    private Integer gasid;

    /**
     * 
     */
    private BigDecimal concentration;

    /**
     * 
     */
    private BigDecimal oneconcentration;

    /**
     * 
     */
    private BigDecimal budgetconcentration;

    /**
     * 
     */
    private BigDecimal singleweight;

    /**
     * 
     */
    private BigDecimal totalweight;

    /**
     * 
     */
    private BigDecimal samplevolume;

    /**
     * 
     */
    private BigDecimal budgetweight;

    /**
     * 
     */
    private BigDecimal budgetpressure;

    /**
     * 
     */
    private BigDecimal actualconcentration;

    /**
     * 
     */
    private Integer operorder;

    /**
     * 
     */
    private String isbottom;

    /**
     * 
     */
    private String iscomplete;

    /**
     * 
     */
    private String analysemethod;

    /**
     * 
     */
    private BigDecimal analyseconcentration;

    /**
     * 
     */
    private String analysefile;

    /**
     * 
     */
    private String analysenote;

    /**
     * 
     */
    private BigDecimal gasweight;

    /**
     * 
     */
    private BigDecimal midvaluel;

    /**
     * 
     */
    private String printunit;

    /**
     * 
     */
    private String printconcentration;

    /**
     * 
     */
    private Integer printdigitnum;

    /**
     * 
     */
    private String quotationnote;

    /**
     * 
     */
    private String cusconcunit;

    /**
     * 
     */
    private Integer inputgroup;

    /**
     * 
     */
    private String isgroupmain;

    /**
     * 
     */
    private BigDecimal everageweight;

    /**
     * 
     */
    private String onebottlecode;

    /**
     * 
     */
    private BigDecimal analstandardconc;

    /**
     * 
     */
    private String analstandardbottlecode;

    /**
     * 
     */
    private BigDecimal calculategasweight;

    /**
     * 
     */
    private Integer operatepersionid;

    /**
     * 
     */
    private String operatepersionname;

    /**
     * 
     */
    private BigDecimal oncegasweight;

    /**
     * 
     */
    private BigDecimal requireweight;

    /**
     * 
     */
    private BigDecimal proportion;

    /**
     * 
     */
    private String analyselock;

    /**
     * 
     */
    private BigDecimal customerconcentration;

    /**
     * 
     */
    private String budgetpower;

    /**
     * 
     */
    private String oncepower;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PmBottleproductiondetail other = (PmBottleproductiondetail) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMainid() == null ? other.getMainid() == null : this.getMainid().equals(other.getMainid()))
            && (this.getGasid() == null ? other.getGasid() == null : this.getGasid().equals(other.getGasid()))
            && (this.getConcentration() == null ? other.getConcentration() == null : this.getConcentration().equals(other.getConcentration()))
            && (this.getOneconcentration() == null ? other.getOneconcentration() == null : this.getOneconcentration().equals(other.getOneconcentration()))
            && (this.getBudgetconcentration() == null ? other.getBudgetconcentration() == null : this.getBudgetconcentration().equals(other.getBudgetconcentration()))
            && (this.getSingleweight() == null ? other.getSingleweight() == null : this.getSingleweight().equals(other.getSingleweight()))
            && (this.getTotalweight() == null ? other.getTotalweight() == null : this.getTotalweight().equals(other.getTotalweight()))
            && (this.getSamplevolume() == null ? other.getSamplevolume() == null : this.getSamplevolume().equals(other.getSamplevolume()))
            && (this.getBudgetweight() == null ? other.getBudgetweight() == null : this.getBudgetweight().equals(other.getBudgetweight()))
            && (this.getBudgetpressure() == null ? other.getBudgetpressure() == null : this.getBudgetpressure().equals(other.getBudgetpressure()))
            && (this.getActualconcentration() == null ? other.getActualconcentration() == null : this.getActualconcentration().equals(other.getActualconcentration()))
            && (this.getOperorder() == null ? other.getOperorder() == null : this.getOperorder().equals(other.getOperorder()))
            && (this.getIsbottom() == null ? other.getIsbottom() == null : this.getIsbottom().equals(other.getIsbottom()))
            && (this.getIscomplete() == null ? other.getIscomplete() == null : this.getIscomplete().equals(other.getIscomplete()))
            && (this.getAnalysemethod() == null ? other.getAnalysemethod() == null : this.getAnalysemethod().equals(other.getAnalysemethod()))
            && (this.getAnalyseconcentration() == null ? other.getAnalyseconcentration() == null : this.getAnalyseconcentration().equals(other.getAnalyseconcentration()))
            && (this.getAnalysefile() == null ? other.getAnalysefile() == null : this.getAnalysefile().equals(other.getAnalysefile()))
            && (this.getAnalysenote() == null ? other.getAnalysenote() == null : this.getAnalysenote().equals(other.getAnalysenote()))
            && (this.getGasweight() == null ? other.getGasweight() == null : this.getGasweight().equals(other.getGasweight()))
            && (this.getMidvaluel() == null ? other.getMidvaluel() == null : this.getMidvaluel().equals(other.getMidvaluel()))
            && (this.getPrintunit() == null ? other.getPrintunit() == null : this.getPrintunit().equals(other.getPrintunit()))
            && (this.getPrintconcentration() == null ? other.getPrintconcentration() == null : this.getPrintconcentration().equals(other.getPrintconcentration()))
            && (this.getPrintdigitnum() == null ? other.getPrintdigitnum() == null : this.getPrintdigitnum().equals(other.getPrintdigitnum()))
            && (this.getQuotationnote() == null ? other.getQuotationnote() == null : this.getQuotationnote().equals(other.getQuotationnote()))
            && (this.getCusconcunit() == null ? other.getCusconcunit() == null : this.getCusconcunit().equals(other.getCusconcunit()))
            && (this.getInputgroup() == null ? other.getInputgroup() == null : this.getInputgroup().equals(other.getInputgroup()))
            && (this.getIsgroupmain() == null ? other.getIsgroupmain() == null : this.getIsgroupmain().equals(other.getIsgroupmain()))
            && (this.getEverageweight() == null ? other.getEverageweight() == null : this.getEverageweight().equals(other.getEverageweight()))
            && (this.getOnebottlecode() == null ? other.getOnebottlecode() == null : this.getOnebottlecode().equals(other.getOnebottlecode()))
            && (this.getAnalstandardconc() == null ? other.getAnalstandardconc() == null : this.getAnalstandardconc().equals(other.getAnalstandardconc()))
            && (this.getAnalstandardbottlecode() == null ? other.getAnalstandardbottlecode() == null : this.getAnalstandardbottlecode().equals(other.getAnalstandardbottlecode()))
            && (this.getCalculategasweight() == null ? other.getCalculategasweight() == null : this.getCalculategasweight().equals(other.getCalculategasweight()))
            && (this.getOperatepersionid() == null ? other.getOperatepersionid() == null : this.getOperatepersionid().equals(other.getOperatepersionid()))
            && (this.getOperatepersionname() == null ? other.getOperatepersionname() == null : this.getOperatepersionname().equals(other.getOperatepersionname()))
            && (this.getOncegasweight() == null ? other.getOncegasweight() == null : this.getOncegasweight().equals(other.getOncegasweight()))
            && (this.getRequireweight() == null ? other.getRequireweight() == null : this.getRequireweight().equals(other.getRequireweight()))
            && (this.getProportion() == null ? other.getProportion() == null : this.getProportion().equals(other.getProportion()))
            && (this.getAnalyselock() == null ? other.getAnalyselock() == null : this.getAnalyselock().equals(other.getAnalyselock()))
            && (this.getCustomerconcentration() == null ? other.getCustomerconcentration() == null : this.getCustomerconcentration().equals(other.getCustomerconcentration()))
            && (this.getBudgetpower() == null ? other.getBudgetpower() == null : this.getBudgetpower().equals(other.getBudgetpower()))
            && (this.getOncepower() == null ? other.getOncepower() == null : this.getOncepower().equals(other.getOncepower()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMainid() == null) ? 0 : getMainid().hashCode());
        result = prime * result + ((getGasid() == null) ? 0 : getGasid().hashCode());
        result = prime * result + ((getConcentration() == null) ? 0 : getConcentration().hashCode());
        result = prime * result + ((getOneconcentration() == null) ? 0 : getOneconcentration().hashCode());
        result = prime * result + ((getBudgetconcentration() == null) ? 0 : getBudgetconcentration().hashCode());
        result = prime * result + ((getSingleweight() == null) ? 0 : getSingleweight().hashCode());
        result = prime * result + ((getTotalweight() == null) ? 0 : getTotalweight().hashCode());
        result = prime * result + ((getSamplevolume() == null) ? 0 : getSamplevolume().hashCode());
        result = prime * result + ((getBudgetweight() == null) ? 0 : getBudgetweight().hashCode());
        result = prime * result + ((getBudgetpressure() == null) ? 0 : getBudgetpressure().hashCode());
        result = prime * result + ((getActualconcentration() == null) ? 0 : getActualconcentration().hashCode());
        result = prime * result + ((getOperorder() == null) ? 0 : getOperorder().hashCode());
        result = prime * result + ((getIsbottom() == null) ? 0 : getIsbottom().hashCode());
        result = prime * result + ((getIscomplete() == null) ? 0 : getIscomplete().hashCode());
        result = prime * result + ((getAnalysemethod() == null) ? 0 : getAnalysemethod().hashCode());
        result = prime * result + ((getAnalyseconcentration() == null) ? 0 : getAnalyseconcentration().hashCode());
        result = prime * result + ((getAnalysefile() == null) ? 0 : getAnalysefile().hashCode());
        result = prime * result + ((getAnalysenote() == null) ? 0 : getAnalysenote().hashCode());
        result = prime * result + ((getGasweight() == null) ? 0 : getGasweight().hashCode());
        result = prime * result + ((getMidvaluel() == null) ? 0 : getMidvaluel().hashCode());
        result = prime * result + ((getPrintunit() == null) ? 0 : getPrintunit().hashCode());
        result = prime * result + ((getPrintconcentration() == null) ? 0 : getPrintconcentration().hashCode());
        result = prime * result + ((getPrintdigitnum() == null) ? 0 : getPrintdigitnum().hashCode());
        result = prime * result + ((getQuotationnote() == null) ? 0 : getQuotationnote().hashCode());
        result = prime * result + ((getCusconcunit() == null) ? 0 : getCusconcunit().hashCode());
        result = prime * result + ((getInputgroup() == null) ? 0 : getInputgroup().hashCode());
        result = prime * result + ((getIsgroupmain() == null) ? 0 : getIsgroupmain().hashCode());
        result = prime * result + ((getEverageweight() == null) ? 0 : getEverageweight().hashCode());
        result = prime * result + ((getOnebottlecode() == null) ? 0 : getOnebottlecode().hashCode());
        result = prime * result + ((getAnalstandardconc() == null) ? 0 : getAnalstandardconc().hashCode());
        result = prime * result + ((getAnalstandardbottlecode() == null) ? 0 : getAnalstandardbottlecode().hashCode());
        result = prime * result + ((getCalculategasweight() == null) ? 0 : getCalculategasweight().hashCode());
        result = prime * result + ((getOperatepersionid() == null) ? 0 : getOperatepersionid().hashCode());
        result = prime * result + ((getOperatepersionname() == null) ? 0 : getOperatepersionname().hashCode());
        result = prime * result + ((getOncegasweight() == null) ? 0 : getOncegasweight().hashCode());
        result = prime * result + ((getRequireweight() == null) ? 0 : getRequireweight().hashCode());
        result = prime * result + ((getProportion() == null) ? 0 : getProportion().hashCode());
        result = prime * result + ((getAnalyselock() == null) ? 0 : getAnalyselock().hashCode());
        result = prime * result + ((getCustomerconcentration() == null) ? 0 : getCustomerconcentration().hashCode());
        result = prime * result + ((getBudgetpower() == null) ? 0 : getBudgetpower().hashCode());
        result = prime * result + ((getOncepower() == null) ? 0 : getOncepower().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mainid=").append(mainid);
        sb.append(", gasid=").append(gasid);
        sb.append(", concentration=").append(concentration);
        sb.append(", oneconcentration=").append(oneconcentration);
        sb.append(", budgetconcentration=").append(budgetconcentration);
        sb.append(", singleweight=").append(singleweight);
        sb.append(", totalweight=").append(totalweight);
        sb.append(", samplevolume=").append(samplevolume);
        sb.append(", budgetweight=").append(budgetweight);
        sb.append(", budgetpressure=").append(budgetpressure);
        sb.append(", actualconcentration=").append(actualconcentration);
        sb.append(", operorder=").append(operorder);
        sb.append(", isbottom=").append(isbottom);
        sb.append(", iscomplete=").append(iscomplete);
        sb.append(", analysemethod=").append(analysemethod);
        sb.append(", analyseconcentration=").append(analyseconcentration);
        sb.append(", analysefile=").append(analysefile);
        sb.append(", analysenote=").append(analysenote);
        sb.append(", gasweight=").append(gasweight);
        sb.append(", midvaluel=").append(midvaluel);
        sb.append(", printunit=").append(printunit);
        sb.append(", printconcentration=").append(printconcentration);
        sb.append(", printdigitnum=").append(printdigitnum);
        sb.append(", quotationnote=").append(quotationnote);
        sb.append(", cusconcunit=").append(cusconcunit);
        sb.append(", inputgroup=").append(inputgroup);
        sb.append(", isgroupmain=").append(isgroupmain);
        sb.append(", everageweight=").append(everageweight);
        sb.append(", onebottlecode=").append(onebottlecode);
        sb.append(", analstandardconc=").append(analstandardconc);
        sb.append(", analstandardbottlecode=").append(analstandardbottlecode);
        sb.append(", calculategasweight=").append(calculategasweight);
        sb.append(", operatepersionid=").append(operatepersionid);
        sb.append(", operatepersionname=").append(operatepersionname);
        sb.append(", oncegasweight=").append(oncegasweight);
        sb.append(", requireweight=").append(requireweight);
        sb.append(", proportion=").append(proportion);
        sb.append(", analyselock=").append(analyselock);
        sb.append(", customerconcentration=").append(customerconcentration);
        sb.append(", budgetpower=").append(budgetpower);
        sb.append(", oncepower=").append(oncepower);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}